package com.face.gaoml.netlibrary.data.rusult;

/**
 * Created by gml on 16/12/9.
 */


/**
 * 结果处理 类 统一格式 需要 服务器 返回的数据
 *
 * @param <T> {
 *            "status":true
 *            "msg": "登录成功"
 *            "result":{
         *              "name": "高粱",
         *              "user_id": "102571",
         *              "sex": true,
         *              "type": true,
         *              "easemob_name": "f4fa879c8b14ff3c88b4cb99cdccb2c2",
         *              "random_string": "de7ce5f2f8aa",
         *              "nickname": "gml123",
         *              "profile_image_url": "/system/users/faces/20151207/102571/medium/102571.jpg?1480326314",
         *              "identity": "并经济",
         *              "career": "jjjjjjjk么么么么没看看就扭扭捏捏你们看看那你就叫你们么么么么么么么么么么么么么么么么么么么么美女美女那你们那你慢慢\r\n\r\nnxnxncnd",
         *              "country": "中国",
         *              "city": "北京市",
         *              "top_chatters": [],
         *              "answer_set": true
 *                    }
 *            }
 */
public class BaseResult<T> {
    private String status;
    private String msg;
    public String code;
    private T data;

    public String getState() {
        return status;
    }

    public void setState(String state) {
        this.status = state;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
